package pers.cnzdy.tutorial.Chapter8_Message_Service.Section1_Broadcast;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.util.Log;
import android.widget.Toast;


public class BootCompleteReceiver extends BroadcastReceiver {
    @Override
    public void onReceive(Context context, Intent intent) {
        //Intent service = new Intent(menu_context, MsgPushService.class);
        //menu_context.startService(service);
        Log.i("BootCompleteReceiver", "开机启动. Starting MsgPushService...");
        Toast.makeText(context, "开机启动",
                Toast.LENGTH_LONG).show();
    }
}
